package com.ssy.lingxi.member.merchant.model.vo.maintenance.response;

import com.ssy.lingxi.member.merchant.model.vo.maintenance.request.PlatformMemberDetailAuthButtonVO;

import java.io.Serializable;
import java.util.List;

/**
 * 获取全量的系统菜单和按钮，根据会员权限设置checked属性
 * @author 万宁
 * @version 2.0.0
 * @date 2020-07-15
 */
public class PlatformMenuButtonAuthVO implements Serializable {
    private static final long serialVersionUID = 7376955287021670841L;

    /**
     * 菜单的Key
     */
    private String key;

    /**
     * 菜单名称
     */
    private String title;

    /**
     * 是否勾选
     */
    private Boolean checked;

    /**
     * 菜单关联的按钮
     */
    private List<PlatformMemberDetailAuthButtonVO> buttons;

    /**
     * 子菜单
     */
    private List<PlatformMenuButtonAuthVO> children;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Boolean isChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public List<PlatformMemberDetailAuthButtonVO> getButtons() {
        return buttons;
    }

    public void setButtons(List<PlatformMemberDetailAuthButtonVO> buttons) {
        this.buttons = buttons;
    }

    public List<PlatformMenuButtonAuthVO> getChildren() {
        return children;
    }

    public void setChildren(List<PlatformMenuButtonAuthVO> children) {
        this.children = children;
    }
}
